<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="com.ivo.sys.user.User"%>
<%@ page import="com.ivo.core.WebConstants"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	String serverPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
	Object obj = request.getAttribute("category");
	String cate ="";
	if(obj!=null) {
	 cate = obj.toString();
	}
	String user_id ="",factory ="";
	User user = (User) request.getSession().getAttribute(WebConstants.SessionUser);
	if(user!=null) 
	{
		user_id = user.getUser_id();
		factory = user.getFactory();
	}
%>
<!DOCTYPE HTML>
<html lang="en">
    <!-- BEGIN HEAD -->
    <head>
        <meta charset="utf-8" />
        <title>WH DL绩效管理系统</title>
        <meta http-equiv="Access-Control-Allow-Origin" content="*">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />
        <!-- BEGIN GLOBAL MANDATORY STYLES -->
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
        <!-- <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/theme/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />  -->
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/morris/morris.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/fullcalendar/fullcalendar.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css" />
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL STYLES -->
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/css/components-rounded.min.css" rel="stylesheet" id="style_components" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
        <!-- END THEME GLOBAL STYLES -->
        <!-- BEGIN THEME LAYOUT STYLES -->
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/css/layout.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/css/themes/light.min.css" rel="stylesheet" type="text/css" id="style_color" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/css/custom.min.css" rel="stylesheet" type="text/css" />
        <link href="<%=basePath%>assets/global/css/bootstrapValidator.min.css" rel="stylesheet" type="text/css" />
        <link href="<%=basePath%>assets/global/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="<%=basePath%>assets/global/css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
        <link href="<%=basePath%>assets/global/css/bootstrap-select.min.css" rel="stylesheet">
<!--         <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-timepicker/css/bootstrap-timepicker.min.css" rel="stylesheet" type="text/css" />
        <link href="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" /> -->
        <!-- END THEME LAYOUT STYLES -->
        <script type="text/javascript">	
		var cate = "<%=cate%>";
		var pms_url = "<%=basePath%>"; 
		</script>
		 <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    </head>
    <!-- END HEAD -->

    <body class="page-container-bg-solid page-header-fixed page-sidebar-closed-hide-logo">
        <!-- BEGIN HEADER -->
        <div class="page-header navbar navbar-fixed-top">
            <!-- BEGIN HEADER INNER -->
            <div class="page-header-inner ">
                <!-- BEGIN LOGO -->
                <div class="page-logo">
                    <a href="#">
                        <%-- <img src="<%=basePath%>assets/global/img/logo.png"/>  --%>
                        <img src="<%=basePath%>assets/global/img/ivo.png" alt="logo" class="logo-default" style="text-align:center"/>
                    </a>
                    <div class="menu-toggler sidebar-toggler">
                        <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
                    </div>
                </div>
                <!-- END LOGO -->
                <!-- BEGIN RESPONSIVE MENU TOGGLER -->
                <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"> </a>
                <!-- END RESPONSIVE MENU TOGGLER -->
                <!-- BEGIN PAGE TOP -->
                <div class="page-top">
                    <!-- BEGIN TOP NAVIGATION MENU -->
                    <div class="top-menu">
                        <ul class="nav navbar-nav pull-right">
                            <!-- BEGIN USER LOGIN DROPDOWN -->
                            <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->
                           <input id="fab" name="fab" type="hidden" value='<%=factory%>' />
                            <li class="dropdown dropdown-user dropdown-dark">
                                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                                    <span class="username username-hide-on-mobile"> <%=user_id%> </span>
                                    <!-- DOC: Do not remove below empty space(&nbsp;) as its purposely used -->
                                   <!--  <img alt="" class="img-circle" src="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/img/avatar9.jpg" /> --> </a>
                                <ul class="dropdown-menu dropdown-menu-default">
                                    <li>
                                        <a href="<%=basePath%>logout.do">
                                            <i class="icon-key"></i> Log Out </a>
                                    </li>
                                </ul>
                            </li>
                            <!-- END USER LOGIN DROPDOWN -->
                        </ul>
                    </div>
                    <!-- END TOP NAVIGATION MENU -->
                </div>
                <!-- END PAGE TOP -->
            </div>
            <!-- END HEADER INNER -->
        </div>
        <!-- END HEADER -->
        <!-- BEGIN HEADER & CONTENT DIVIDER -->
        <div class="clearfix"> </div>
        <!-- END HEADER & CONTENT DIVIDER -->
        <!-- BEGIN CONTAINER -->
        <div class="page-container">
            <!-- BEGIN SIDEBAR -->
            <div class="page-sidebar-wrapper">
                <!-- BEGIN SIDEBAR -->
                <div class="page-sidebar navbar-collapse collapse">
                    <!-- BEGIN SIDEBAR MENU -->
                    <ul class="page-sidebar-menu   " data-keep-expanded="false" data-auto-scroll="true" data-slide-speed="200">
                        <li class="heading">
                            <h3 class="uppercase">绩效管理</h3>
                        </li>
                        <li class="nav-item">
                            <a href="<%=basePath%>wh/performance/whPerformance" class="nav-link nav-toggle" >
                                <i class="icon-wallet"></i>
                                <span class="title">WH绩效</span>
                            </a>
                        </li>
            			<li class="nav-item">
                            <a href="<%=basePath%>wh/performance/whgroups" class="nav-link nav-toggle" >
                                <i class="icon-note"></i>
                                <span class="title">组别维护</span>
                            </a>
                        </li>
						

                    </ul>
                    <!-- END SIDEBAR MENU -->
                </div>
                <!-- END SIDEBAR -->
            </div>
            <!-- END SIDEBAR -->
            <!-- BEGIN CONTENT -->
            <div class="page-content-wrapper">
                <!-- BEGIN CONTENT BODY -->
                <div class="page-content">
                			<%	if(cate.equals("whPerformance"))
              				{%>
              					<%@ include file="../wh/whPerformance.jsp"%>
              				<%}if(cate.equals("whgroups"))
              				{%>
              					<%@ include file="../wh/whgroups.jsp"%>
              				<%}%>
              				
                </div>
                <!-- END CONTENT BODY -->
            </div>
            <!-- END CONTENT -->
        </div>
        <!-- END CONTAINER -->
        <!-- BEGIN FOOTER -->
        <div class="page-footer">
            <div class="page-footer-inner">Copyright &copy; 2005-2013 Infovision Optoelectronics (Kunshan) Co., Ltd. All rights reserved. 
                <a href="http://myivo.ivo.com.cn/Arcadia/pages/web/login.jsp?screen_ID=WEB.LOGIN" title="" target="_blank">MyIVO</a>
            </div>
            <div class="scroll-to-top">
                <i class="icon-arrow-up"></i>
            </div>
        </div>
        <!-- END FOOTER -->
        <!--[if lt IE 9]>
<script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/respond.min.js"></script>
<script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
        <!-- BEGIN CORE PLUGINS -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
        <!-- END CORE PLUGINS -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/moment.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/morris/morris.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/morris/raphael-min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/counterup/jquery.waypoints.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/counterup/jquery.counterup.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/amcharts.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/serial.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/pie.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/radar.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/themes/light.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/themes/patterns.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amcharts/themes/chalk.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/ammap/ammap.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/ammap/maps/js/worldLow.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/amcharts/amstockcharts/amstock.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jquery-easypiechart/jquery.easypiechart.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/jquery.vmap.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js" type="text/javascript"></script>
        
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-daterangepicker/daterangepicker.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
<!--        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-timepicker/js/bootstrap-timepicker.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script> -->
        
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN THEME GLOBAL SCRIPTS -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/scripts/app.min.js" type="text/javascript"></script>
       <!--  <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/scripts/datatable.js" type="text/javascript"></script> -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/datatables/datatables.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.js" type="text/javascript"></script>
        <!-- <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/pages/scripts/table-datatables-editable.min.js" type="text/javascript"></script> -->
        <!-- END THEME GLOBAL SCRIPTS -->
        <!-- BEGIN PAGE LEVEL SCRIPTS -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/pages/scripts/dashboard.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/pages/scripts/components-date-time-pickers.min.js" type="text/javascript"></script>
        <!-- <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/pages/scripts/ui-confirmations.min.js" type="text/javascript"></script> -->
        <!-- END PAGE LEVEL SCRIPTS -->
        <!-- BEGIN THEME LAYOUT SCRIPTS -->
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/scripts/layout.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/layout4/scripts/demo.min.js" type="text/javascript"></script>
        <script src="http://www.ivo.com.cn/metronic/v4.5.5/assets/layouts/global/scripts/quick-sidebar.min.js" type="text/javascript"></script>
        
        <!-- END THEME LAYOUT SCRIPTS -->
        <script src="<%=basePath%>assets/global/script/bootstrapValidator.min.js" type="text/javascript"></script>
        <script src="<%=basePath%>assets/global/script/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
        <script src="<%=basePath%>assets/global/script/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
        <script src="<%=basePath%>assets/global/script/jquery.autocomplete.js" type="text/javascript"></script>
        <script src="<%=basePath%>assets/global/script/jquery.form.js" type="text/javascript"></script>
        <script src="<%=basePath%>assets/global/script/bootstrap-select.min.js"></script>
		<script src="<%=basePath%>assets/views/script/ary.js" type="text/javascript"></script>
		<script src="<%=basePath%>assets/views/script/common.js" type="text/javascript"></script>
    </body>

</html>